home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3mpray.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_MATPROPRAYTR_H = 1;
- include("real/code/r3matprp.js")
-
-
- var R3CLID_MPRAYTRACER = 1549;
-
-
-
-
- R3MPRAYA_Randomness = 1549500;
- function SetR3MPRAYA_Randomness(value) {
- R3Set(this.r3obj, R3MPRAYA_Randomness, value, R3TID_FLOAT, 0);
- }
-
- function GetR3MPRAYA_Randomness() {
- return R3Get(this.r3obj, R3MPRAYA_Randomness, R3TID_FLOAT, 0);
- }
-
- R3MPRAYA_RayCount = 1549501;
- function SetR3MPRAYA_RayCount(value) {
- R3Set(this.r3obj, R3MPRAYA_RayCount, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPRAYA_RayCount() {
- return R3Get(this.r3obj, R3MPRAYA_RayCount, R3TID_INTEGER, 0);
- }
-
- R3MPRAYA_NormalSide = 1549502;
- function SetR3MPRAYA_NormalSide(value) {
- R3Set(this.r3obj, R3MPRAYA_NormalSide, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPRAYA_NormalSide() {
- return R3Get(this.r3obj, R3MPRAYA_NormalSide, R3TID_INTEGER, 0);
- }
-
- R3MPRAYA_WeightByAngle = 1549503;
- function SetR3MPRAYA_WeightByAngle(value) {
- R3Set(this.r3obj, R3MPRAYA_WeightByAngle, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPRAYA_WeightByAngle() {
- return R3Get(this.r3obj, R3MPRAYA_WeightByAngle, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Mpraytracer () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_MPRAYTRACER, arguments);
- }
- // Attributes
- this.GetRandomness=GetR3MPRAYA_Randomness;
- this.SetRandomness=SetR3MPRAYA_Randomness;
- this.GetRayCount=GetR3MPRAYA_RayCount;
- this.SetRayCount=SetR3MPRAYA_RayCount;
- this.GetNormalSide=GetR3MPRAYA_NormalSide;
- this.SetNormalSide=SetR3MPRAYA_NormalSide;
- this.GetWeightByAngle=GetR3MPRAYA_WeightByAngle;
- this.SetWeightByAngle=SetR3MPRAYA_WeightByAngle;
- }
-
- r3Mpraytracer.prototype=new r3Matprop;
- // r3mpray.h_H